import { useAccess, useModel } from '@umijs/max';
import React from 'react';
import PreviewFlow from './components/PreviewFlow';
import PreviewModule from './components/PreviewModule';
import PreviewUser from './components/PreviewUser';

export default (): React.ReactNode => {
  const { initialState, setInitialState } = useModel('@@initialState');
  const access = useAccess();

  return (
    <>
      <PreviewModule />
      <PreviewUser />
      <PreviewFlow />
    </>
  );
};
